]> dgit.raspbian.org Git - gnome-shell.git/commit
Fix negative height request in WellGrid
authorSiegfried-Angel Gevatter Pujals <rainct@ubuntu.com>
Sun, 9 Aug 2009 01:34:35 +0000 (03:34 +0200)
committerSiegfried-Angel Gevatter Pujals <rainct@ubuntu.com>
Sun, 9 Aug 2009 01:34:35 +0000 (03:34 +0200)
commit4495f98dcec83c2726cedf9aba5afd3c1d97ddea
tree2a3222810099ca45c0e7acf0199d30daabd1971e
parent5a75b44f71ae8709dd5e7c8960fc08f6bbdde68f
Fix negative height request in WellGrid

When WellGrid had no child it was doing a division by zero,
which screwed up the calculation for the height request and
having it ask for a negative number. This commit fixes this
by always requesting 0 in this case.
js/ui/appDisplay.js